package com.qdu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Classroom;

public interface ClassroomMapper {
	Classroom selectClassroomById(int classrmid);

	boolean addClassroom(@Param("classroom") Classroom classroom,@Param("buildingId")int buildingId);

	boolean modifyClassroom(@Param("classroom") Classroom classroom,@Param("buildingId")int buildingId);

	boolean deleteClassroomById(int classrmid);

	List<Classroom> selectAllClassroom();
}
